package com.cetc.dao;

import com.cetc.model.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by shea on 2018/10/19.
 */
@Repository
public interface UserDao extends JpaRepository<User,Long> {
    User findByUsername(String name);
}
